﻿using System.Collections.Generic;
using System.Drawing.Imaging;
using System.IO;
using Graphix.Elements;

namespace Graphix.Charts
{
    public interface IChart
    {
        //Type Type { get; set; }
        ValuedTextStyle Title { get; set; }
        List<ChartString> TitleX { get; set; }
        List<ChartString> TitleY { get; set; }
        List<ChartString> TitleX2 { get; set; }
        List<ChartString> TitleY2 { get; set; }
        Background Background { get; set; }
        bool DrawTicks { get; set; }
        void DrawLegend();
        int Height { get; set; }
        int Width { get; set; }
        string Save();

        void AddJavascript(bool minified = true);
        void SaveToFile(string filename, ImageFormat format);
        void SaveToStream(Stream stream, ImageFormat format);
    }
}
